package homework;

public class Demo13 {

    public static void main(String[] args) throws InterruptedException {
        Logger log = new Logger();
        log.open();
        log.println("hello world");
        log.println("hello world");
        log.println("hello world");
        log.println("hello world");
        log.println("hello world");

        Thread.sleep(1000);

        log.close();
    }

}
